package com.example.entity.market;

import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;


import java.awt.geom.Area;

public class Market {
    private int marketId;
    private String marketName;
    private String marketArea;
    private double marketPrice;
    private String marketTag;
    private String marketSituation;

    private String marketType;

    private String marketAvatar;

    // 直接添加省、市、区字段
    private String province;
    private String city;
    private String district;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public int getMarketId() {
        return marketId;
    }

    public void setMarketId(int marketId) {
        this.marketId = marketId;
    }

    public String getMarketName() {
        return marketName;
    }

    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }

    public String getMarketArea() {
        return marketArea;
    }

    public void setMarketArea(String marketArea) {
        this.marketArea = marketArea;
    }

    public double getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(double marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getMarketTag() {
        return marketTag;
    }

    public void setMarketTag(String marketTag) {
        this.marketTag = marketTag;
    }

    public String getMarketSituation() {
        return marketSituation;
    }

    public void setMarketSituation(String marketSituation) {
        this.marketSituation = marketSituation;
    }

    public String getMarketType() {
        return marketType;
    }

    public void setMarketType(String marketType) {
        this.marketType = marketType;
    }

    public String getMarketAvatar() {
        return marketAvatar;
    }

    public void setMarketAvatar(String marketAvatar) {
        this.marketAvatar = marketAvatar;
    }
}
